package com.gzz.orchid.context.domain.business.entity;

import com.gzz.orchid.common.core.tuple.OrderNo;
import com.gzz.orchid.common.core.tuple.Receiver;
import com.gzz.orchid.context.infrastructure.definition.Status;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Set;

/**
 * 发货订单
 *
 * @author higmd
 */
@Data
public class ShipOrderDo {
    /**
     * 订单号
     */
    private OrderNo no;
    /**
     * 订单时间
     */
    private LocalDateTime timeAt;
    /**
     * 状态
     */
    private Status status;
    /**
     * 订单项
     */
    private Set<DetailItem> items;
    /**
     * 收货人信息
     */
    private Receiver receiver;

}
